package com.lagou.edu.pojo;


import com.lagou.edu.annotation.Autowired;
import com.lagou.edu.annotation.Component;

/**
 * @Author 应癫
 * @create 2019/12/3 11:46
 */
@Component
public class LagouBean {
	@Autowired
	private ItBean itBean;

	public void setItBean(ItBean itBean) {
		this.itBean = itBean;
	}

	/**
	 * 构造函数
	 */
	public LagouBean(){
		System.out.println("LagouBean 构造器...");
	}


	/**
	 * InitializingBean 接口实现
	 */
	public void afterPropertiesSet() throws Exception {
		System.out.println("LagouBean afterPropertiesSet...");
	}

	public void print() {
		System.out.println("print方法业务逻辑执行");
	}


}
